<template>
    <!-- <label-view :imgUrl="imgUrl" divId="map"></label-view> -->
    <label-view :imgUrl="imgUrl" divId="map"></label-view>
    <context-menu :menu="menus" @select="select($event.label)"></context-menu>
</template>

<script lang="ts" setup>
import LabelView from "@/components/LabelTemplate.vue";

import ContextMenu from "@/components/ContextMenu.vue";


import imgUrl from "@/assets/images/bgpic.jpg";

// import LabelView from "@/components/LabelView.vue";

const menus = [
    { label: '全站停电', url: '' },
    { label: '全站检修', url: '' },
    { label: '区间占用', url: '' },
    { label: '区间组合', url: '' },
    { label: '客车', url: '' },
    { label: '无电', url: '' },
    { label: '分路不良', url: '' },
]
</script>